﻿using System;

namespace MQ.Core.Cache
{
    public interface ICache
    {
        void Set<T>(string key, T value);
        void Set<T>(string key, T value, int expire);
        T Get<T>(string key);
        void Remove(string key);
        void Remove(string[] keys);
        void Clear(int dbId);
        void Clear();
    }
}
